﻿//===============================================================================
//	CRelayMessage.h
//	到客户端的中继协议
//===============================================================================

#pragma once
#include "BaseMessage.h"
class CRelayMessage :
	public BaseMessage
{
public:
	CRelayMessage(uint32_t uid, uint32_t pn);
	~CRelayMessage();

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{
		return new CRelayMessage(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

public:
	//---------------------------------------------------------------------------
	void SetMsg(const char* msg);
};

